package com.matt.service.Photo;

import com.matt.domain.photoalbum.PhotoAlbum;

import java.util.List;

public interface PhotoAlbumService {

    PhotoAlbum get(String areaId, String albumId,Integer type);

    /**
     * 获取系统自动创建的宝宝相册
     * @param areaId
     * @param childrenId
     * @return
     */
    PhotoAlbum getByChildrenId(String areaId, String childrenId,Integer type);

    List<PhotoAlbum> list(String areaId, String classId,Integer type);

    List<PhotoAlbum> listByClassChildren(String areaId, String classId,Integer type);

    PhotoAlbum add(PhotoAlbum album);

    PhotoAlbum update(PhotoAlbum album);

    void deleteAll(String areaId, String[] albumIds);
    void delete(String areaId, String albumId);

    List<PhotoAlbum> listByName(String areaId,String title);


}
